<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>背景渐变色</title>
		<style>
			p{
				height: 500px;
				width: 800px;
				background: linear-gradient(to right,red,blue,green,gold,yellow,firebrick);
			}
		</style>
	</head>
	<body>
		<p>
			教育改变生活
		</p>
	</body>
</html>